from django.contrib import admin
from .models import WeatherData

@admin.register(WeatherData)
class WeatherDataAdmin(admin.ModelAdmin):
    list_display = ['date', 'weather', 'temperature', 'wind']
    list_filter = ['date']
    search_fields = ['date', 'weather']
